package cn.seaboot.admin.msg.bean;


import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * POJO
 * 消息模版 [t_sys_msg]
 * @author Mr.css on 2018-6-20
 */
@Schema(description = "消息模版 [t_sys_msg] 实体类")
public class Message implements Serializable {

    private static final long serialVersionUID = -5869552851982799296L;
    /**
     * ID
     */
    @NotNull
    @Size(max = 32)
    @Schema(description = "ID")
    private String id;
    /**
     * 短信类型
     */
    @Schema(description = "短信类型")
    private Integer msgType;
    /**
     * 名称
     */
    @Size(max = 64)
    @Schema(description = "名称")
    private String name;
    /**
     * 描述
     */
    @Size(max = 128)
    @Schema(description = "描述")
    private String description;
    /**
     * 标题
     */
    @Size(max = 128)
    @Schema(description = "标题")
    private String title;
    /**
     * 内容
     */
    @Size(max = 32)
    @Schema(description = "对象模型")
    private String model;
    /**
     * 内容
     */
    @Size(max = 512)
    @Schema(description = "内容")
    private String content;
    /**
     * 创建日期
     */
    @Schema(description = "创建日期")
    private LocalDateTime gmtCreate;
    /**
     * 修改日期
     */
    @Schema(description = "修改日期")
    private LocalDateTime gmtModified;
    /**
     * 是否禁用
     */
    @Schema(description = "是否禁用")
    private Boolean disabled;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getMsgType() {
        return msgType;
    }

    public void setMsgType(Integer msgType) {
        this.msgType = msgType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Boolean getDisabled() {
        return disabled;
    }

    public void setDisabled(Boolean disabled) {
        this.disabled = disabled;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }
}
